//
//  AENewsInfoModel.h
//  AESOLAR_IOS
//
//  Created by Bin Tang on 2024/10/27.
//  Copyright © 2024 Mr.Wang. All rights reserved.
//

#import "TYZBaseModel.h"
#import "AENewsInfoOssModel.h"
#import "AENewsCommentsModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface AENewsInfoModel : TYZBaseModel

@property (nonatomic, assign) NSInteger createId;

@property (nonatomic, assign) double createTime;

@property (nonatomic, assign) NSInteger deleteFlag;

@property (nonatomic, assign) NSInteger id;

/// 是否点赞
@property (nonatomic, assign) BOOL like;

/// 评论数
@property (nonatomic, assign) NSInteger newsCommentsCount;

@property (nonatomic, copy) NSString *newsContent;
@property (nonatomic, strong) UIFont *newsContentFont;
@property (nonatomic, assign) float newsContentHeight;

@property (nonatomic, copy) NSString *newsDataTime;
@property (nonatomic, strong) UIFont *newsDataTimeFont;
@property (nonatomic, assign) float newsDataTimeHeight;

@property (nonatomic, assign) NSInteger newsGroupId;

/// 点赞数
@property (nonatomic, assign) NSInteger newsLikes;

@property (nonatomic, copy) NSString *newsTitle;
@property (nonatomic, strong) UIFont *newsTitleFont;
@property (nonatomic, assign) float newsTitleHeight;

@property (nonatomic, strong) id ossIds;


@property (nonatomic, strong) NSArray<AENewsInfoOssModel *> *ossList;
@property (nonatomic, strong) NSMutableArray *ossUrls;
@property (nonatomic, assign) float imageSpace;
@property (nonatomic, assign) float imageWidth;
@property (nonatomic, assign) float imageHeight;



/// 头的总高度
@property (nonatomic, assign) float headerHeight;


@property (nonatomic, strong) NSMutableArray<AENewsCommentsModel *> *comments;

@end

NS_ASSUME_NONNULL_END


/*
 {
     ossList =     (
                 {
             id = 1018;
             md5 = 96dd07dc61a96913663ec73eddaf6ef0;
             name = "fbe30859256202bf1b777b9a920045e5.png";
             newsId = 2;
             path = "2024/06/28/36c2bc4e7fd84c8ab5138842c5e0c7ee.png";
             suffix = png;
             url = "<null>";
         },
                 {
             id = 1018;
             md5 = 96dd07dc61a96913663ec73eddaf6ef0;
             name = "fbe30859256202bf1b777b9a920045e5.png";
             newsId = 2;
             path = "2024/06/28/36c2bc4e7fd84c8ab5138842c5e0c7ee.png";
             suffix = png;
             url = "<null>";
         },
                 {
             id = 1018;
             md5 = 96dd07dc61a96913663ec73eddaf6ef0;
             name = "fbe30859256202bf1b777b9a920045e5.png";
             newsId = 2;
             path = "2024/06/28/36c2bc4e7fd84c8ab5138842c5e0c7ee.png";
             suffix = png;
             url = "<null>";
         },
                 {
             id = 1018;
             md5 = 96dd07dc61a96913663ec73eddaf6ef0;
             name = "fbe30859256202bf1b777b9a920045e5.png";
             newsId = 2;
             path = "2024/06/28/36c2bc4e7fd84c8ab5138842c5e0c7ee.png";
             suffix = png;
             url = "<null>";
         }
     );
     pageNum = 0;
     pageSize = 0;
     updateTime = 0;
 */
